package com.hanhai.material.device.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *  实体类。
 *
 * @author youchuang
 * @since 2024/03/11 13:54:56
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "sys_machine_adjust_record",dataSource = "device")
public class SysMachineAdjustRecord implements Serializable {

    @Id
    private String id;

    private Date productDate;

    private String workPlanId;

    private String productId;

    private String productName;

    private String shortName;

    @Column(onInsertValue = "now()")
    private Date createTime;

    @Column(onUpdateValue = "now()")
    private Date updateTime;


    private String productRecordId;

    private String machineName;

    private String shift;

    private String createUserName;

    private String createUserId;

    private String updateUserName;

    private String updateUserId;
    
    private String productRecordShiftId;

    private Date startTime;

    private Date endTime;

    private Double duration;

    private String reason;

    private String shiftCode;

    private String adjustPeople;

}
